package com.wx.task.future.v1;

import cn.hutool.core.thread.ThreadUtil;
import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.Callable;

@Slf4j
public class t2Task implements Callable<String> {
    @Override
    public String call() throws Exception {
        log.info("{} 洗茶具", Thread.currentThread().getName());
        ThreadUtil.sleep(1000);
        log.info("{} 洗茶杯", Thread.currentThread().getName());
        ThreadUtil.sleep(2000);
        log.info("{} 拿茶杯", Thread.currentThread().getName());
        ThreadUtil.sleep(2000);
        return "龙井";
    }
}
